package com.kaifamiao.demo.d0729.pm;

public class Sup02 {

    int a = 10;
    static int b = 20;

    static {
        b = 21;
        System.out.println("sup02 static{}");
    }

    {
        a = 11;
        System.out.println("sup02 {}");
    }

    public Sup02(){
        System.out.println("Sup02()");
        print();
    }

    public void print(){
        System.out.println("sup02.print()");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
}
